home *** CD-ROM | disk | FTP | other *** search
- on flipBusCard spriteNo
- global CURRENTBUSCARD, BUSCARDCOUNT, score
- puppetSound("prup")
- set the visible of sprite spriteNo to 0
- updateStage()
- if CURRENTBUSCARD = EMPTY then
- set CURRENTBUSCARD to spriteNo
- else
- startTimer()
- repeat while the timer < 60
- end repeat
- if not (the name of member the memberNum of sprite CURRENTBUSCARD = the name of member the memberNum of sprite spriteNo) then
- puppetSound("board move")
- set the visible of sprite spriteNo to 1
- set the visible of sprite CURRENTBUSCARD to 1
- else
- set BUSCARDCOUNT to BUSCARDCOUNT + 1
- puppetSound("girl power")
- end if
- if BUSCARDCOUNT = 15 then
- congratulations()
- if score > 190 then
- go("game win")
- else
- go("boo")
- end if
- exit
- end if
- set CURRENTBUSCARD to EMPTY
- end if
- end
-